<template>
    <!-- 布局 -->
    <div class="common-layout">
        <el-scrollbar height="100vh">
            <el-container>
                <el-header class="el-header">
                    <Header></Header>
                </el-header>
                <RouterView />
            </el-container>
        </el-scrollbar>
    </div>
    <!-- <div :class="store.dark && 'common-layout'" style="transition: background-color .4s ease;">

    </div> -->
</template>

<style scoped>
/* 页头容器 */
.el-header {
    --el-header-padding: 0;
    background-color: #f6f6f6;
}
</style>